Click any tag below to further narrow down your results
Links
A production guardrail pipeline for agentic AI cut latency from 13.8 seconds to 1.8 seconds by parallelizing independent validation checks and short-circuiting on cheap, high-confidence rejections—without touching detection logic or accuracy. The lesson: pipeline topology often matters more than model choice.
- Baseline sequential validation pipeline took 13,874 ms per action across five layers (policy, prompt injection, destructive ops, anomaly detection, authorization), making safety features slow enough teams might disable them in production.
- Most validation layers had no real dependencies on each other's outputs but ran sequentially anyway because of code structure, not logic requirements; reordering by cost meant cheap checks could reject actions before expensive ones ran.
- Restructured pipeline achieved 7.6x latency reduction (to 1,828 ms) and maintained 94% accuracy and 0% false-negative rate on destructive operations by parallelizing independent checks and short-circuiting on early rejections.
- The pattern generalizes: RAG pipelines, multi-agent handoffs, and evaluation harnesses often chain steps sequentially out of habit rather than necessity; asking "which steps actually depend on each other?" can yield bigger wins than swapping models.
Zalando replaced shared edge routing for high-fan-out internal calls with an in-process load balancer that mirrors Skipper’s consistent-hash ring. They built a standalone JVM module for hash-parity routing, switched to a watch-based Kubernetes informer, and overhauled their CI/CD pipeline to safely roll out traffic ramps. The change cut latency spikes, reduced costs, and boosted deployment velocity.
- Replacing shared Skipper routing with an in-process client-side load balancer for internal fan-out calls eliminated latency spikes and noisy-neighbor ambiguity from shared infrastructure.
- The CSLB exactly replicates Skipper's consistent-hash ring (xxHash64, 100 virtual nodes) so both routers map product IDs identically, verified via unit tests and canary cache-hit parity.
- A Kubernetes informer with a two-second debounce coalesces pod churn into single ring updates, avoiding control-plane overload while keeping routing current.
- A refactored CI/CD pipeline cut build times from 21 to 12 minutes and removed 40+ manual steps, enabling faster iteration and safer traffic ramp-ups.